/*
 * 存储访问数据库数据
 * 
 * 
 */


package context;

public class Context {
	private String connection = "jdbc:mysql://localhost:3306/easipaybank";
	private String usrName = "easy";
	private String psw = "easy";
	private static Context c;
	
	private Context(){
		
	}
	
	public static Context newInstance(){
		if(c == null){
			c = new Context();
		}
		return c;
	}
	
	public String getConnection() {
		return connection;
	}
	public void setConnection(String connection) {
		this.connection = connection;
	}
	public String getUsrName() {
		return usrName;
	}
	public void setUsrName(String usrName) {
		this.usrName = usrName;
	}
	public String getPsw() {
		return psw;
	}
	public void setPsw(String psw) {
		this.psw = psw;
	}
	
	
}
